namespace Medical.Domain
{
    /// <summary>
    /// 员工实体（医生、护士、行政等）
    /// </summary>
    public class Employee
    {
        public long EmployeeId { get; set; }
        /// <summary>用户名（登录名，唯一）</summary>
        public string UserName { get; set; } = string.Empty;
        /// <summary>姓名</summary>
        public string FullName { get; set; } = string.Empty;
        /// <summary>工号（唯一）</summary>
        public string WorkNo { get; set; } = string.Empty;
        /// <summary>所属科室Id</summary>
        public long? DepartmentId { get; set; }
        /// <summary>邮箱</summary>
        public string? Email { get; set; }
        /// <summary>性别（M/F）</summary>
        public string? Gender { get; set; }
        /// <summary>地址</summary>
        public string? Address { get; set; }
        /// <summary>联系电话</summary>
        public string? Phone { get; set; }
        /// <summary>身份证号</summary>
        public string? IdCardNo { get; set; }
        /// <summary>职称（医生、护士等职称）</summary>
        public string? Title { get; set; }
        /// <summary>角色（医生/护士/行政等）</summary>
        public string? Role { get; set; }
        /// <summary>是否激活</summary>
        public bool IsActive { get; set; } = true;

        public bool IsDeleted { get; set; } = false;
        public DateTime? DeletedAt { get; set; }
        public string? DeletedBy { get; set; }
        public DateTime CreatedAt { get; set; } = DateTime.Now;
        public DateTime UpdatedAt { get; set; } = DateTime.Now;
    }
}
